export const routes = [{
    path: '/',
    redirect: '/home',
    component: (resolve) => require(['@/views/home/index'], resolve)
  },
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/home/index')
  },
  {
    path: '/todoList',
    name: 'todoList',
    component: (resolve) => require(['@/views/todoList/index'], resolve)
  },
  {
    path: '/testHome',
    name: 'myTest',
    component: (resolve) => require(['@/views/testPage/index'], resolve)
    // component: () => import('@/views/testPage/index')
  }
]